<?php 
class page_models_show extends CI_Model{
	public function __construct(){
		$this->load->database();
	}
	
	public function show($page_link){
		$query = $this->db->get_where('page_article', array('page_link' => $page_link), 1);
		if($query->num_rows()){
			$row=$query->result();
			return $row[0];
		}
		return false;
	}
}